package HibernateFacet.second;

import java.util.Date;

public class Electricity implements java.io.Serializable{
    private Integer id;
    private Integer deviceId;
    private Double aNumber; //a相用电量
    private Double bNumber;
    private Double cNumber;
    private Double sumNumber; //总用电量
    private Date createTime;
    private Date updateTime;

    public Electricity() {
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(Integer deviceId) {
        this.deviceId = deviceId;
    }

    public Double getaNumber() {
        return aNumber;
    }

    public void setaNumber(Double aNumber) {
        this.aNumber = aNumber;
    }

    public Double getbNumber() {
        return bNumber;
    }

    public void setbNumber(Double bNumber) {
        this.bNumber = bNumber;
    }

    public Double getcNumber() {
        return cNumber;
    }

    public void setcNumber(Double cNumber) {
        this.cNumber = cNumber;
    }

    public Double getSumNumber() {
        return sumNumber;
    }

    public void setSumNumber(Double sumNumber) {
        this.sumNumber = sumNumber;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        return "Electricity{" +
                "id=" + id +
                ", deviceId=" + deviceId +
                ", aNumber=" + aNumber +
                ", bNumber=" + bNumber +
                ", cNumber=" + cNumber +
                ", sumNumber=" + sumNumber +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                '}';
    }
}
